﻿@using KPIS.GERP.Models.ICM
@model PurchaseOrderPenalty

@Html.HiddenFor(model => model.PoPenId)

@if(Model != null)
{
<div class="widget-box">
	<div class="widget-header header-color-blue2">
        <h4 class="lighter smaller">ข้อมูลกำหนดปรับ</h4>
    </div>

    <div class="widget-body">
        <div class="widget-body-inner">
			<div class="widget-main form-horizontal">
                <div class="control-group">
                    <div class="control-label">
                         @Html.DisplayNameFor(model => model.PurchaseOrder.Code)
                    </div>
                    <div class="controls-detail" style="margin-top:5px !important;">
                        @Html.DisplayFor(model => model.PurchaseOrder.Code)
                    </div>
                </div>
                <div class="control-group">
                    <div class="control-label">
                         @Html.DisplayNameFor(model => model.Name)
                    </div>
                    <div class="controls-detail" style="margin-top:5px !important;">
                        @Html.DisplayFor(model => model.Name)
                    </div>
                </div>
                <div class="control-group">
                    <div class="control-label">
                         @Html.DisplayNameFor(model => model.Descr)
                    </div>
                    <div class="controls-detail" style="margin-top:5px !important;">
                        @Html.DisplayFor(model => model.Descr)
                    </div>
                </div>
                <div class="control-group">
                    <div class="control-label">
                         @Html.DisplayNameFor(model => model.PenaltyRate)
                    </div>
                    <div class="controls-detail" style="margin-top:5px !important;">
                        @Html.DisplayFor(model => model.PenaltyRate)
                        @Html.Raw("&nbsp")
                        @Html.DisplayFor(model => model.PenaltyRateType.LookUpName)
                    </div>
                </div>
                                
            </div>
        </div>
    </div>
 </div>
}
